<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Self-Pickup Appointment Voucher</title>
</head>
<body>
    <div class="main">
        <img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/202505281708491748423329297b426c3303c.png" alt="" class="top-circuit-img">
        <div class="content-text">

            <p>Dear {{user_name}}:</p>
            <p class="no_gap">The following is your Self-Pickup Appointment Voucher File of {{products}} in Your Order No.{{order_info.order_no}}</p>
        </div>

        <table class="order-details-table">
            <tr>
                <td>Order Number</td>
                <td>{{order_info.order_no}}</td>
            </tr>
            <tr>
                <td>Self-Pickup goods</td>
                <td>
                    {% for item in order_items %}
                    <div class="product-item">
                        <img src="{{item.thumb}}" alt="{{item.name}}" class="product-thumb">
                        <div class="font-bold">{{item.name}} <span style="float: right">*{{item.quantity}}</span></div>
                    </div>
                    {% endfor %}
                </td>
            </tr>
            <tr>
                <td>Self-Pickup Code</td>
                <td>{{order_info.pickup_code}}</td>
            </tr>
            <tr>
                <td>Full Name of the Pick-up person (Your Full Name)</td>
                <td>{{order_info.pickup_name}}</td>
            </tr>
            <tr>
                <td>ID/Passport Number of the Pick-up person</td>
                <td>{{order_info.pickup_passport}}</td>
            </tr>
            <tr>
                <td>The Pick-up person's vehicle</td>
                <td>{{order_info.pickup_vehicle}}</td>
            </tr>
        </table>

        <div class="content-text">
             <p>You can pick up the goods at the warehouse with the self-pickup appointment code and the other information on the File.</p>
             <p>The warehouse address is:</p>
              {{pickup_address}}
             <p>If you have any questions, please contact us via our Live chat or Email to:</p>
             <p><a class="link_a" href="mailto:contact@jinglemining.com">contact@jinglemining.com</a></p>
             <br>
             <p class="yours-sincerely no_gap">Yours Sincerely:</p>
             <p class="no_gap">Jingle Mining</p>
        </div>

        <div class="middle middle-border-bottom">
            <a href="https://www.jinglemining.asia/account/orders/detail?orderNo={{order_info.order_no}}" class="button-style">VIEW YOUR ORDER</a>
            <a href="https://www.jinglemining.asia/" class="visit-store-button button-style">VISIT OUR STORE</a>
            <div class="social_icon social-icon-style">
                <a href="https://www.instagram.com/jinglemining_official"><img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/2025052817100217484234026947505b7596a.png" alt="Telegram Icon" class="social-icon"></a>
                <a href=" https://www.facebook.com/JingleMining"><img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/202505281709121748423352834865d55fd39.png" alt="Facebook Icon" class="social-icon"></a>
                <a href="https://x.com/JingleMining"><img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/202505281710281748423428390a691251ec4.png" alt="X Icon" class="social-icon"></a>
                <a href="https://www.youtube.com/@JINGLEMINING"><img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/20250528171120174842348093412e4aaf95f.png" alt="YouTube Icon" class="social-icon"></a>
            </div>
        </div>

        <div>
            <p class="contact-info">If you have any questions, reply to this email or contact us at <a class="link_a" href="mailto:contact@jinglemining.com">contact@jinglemining.com</a></p>
        </div>
        <img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/202505281708131748423293510f7c35aa20e.png" alt="Jingle Mining Logo" class="bottom-logo">
        <img src="https://mx-jinglemining.oss-us-west-1.aliyuncs.com/customer/202505/28/202505281708491748423329297b426c3303c.png" alt="Bottom Circuit Board" class="bottom-circuit-img">

    </div>
</body>
<style>
    .main{
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .top_img{
        width: 100%;
    }
    .social_icon{
        display: flex;
        gap: 30px;
        justify-items: center;
        justify-content: center;
        margin-top: 38px;
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 39px;
    }
    .social_icon img {
        width: 30px;
        margin: 0 5px;
    }
    .middle{
        text-align: center;
        border-bottom: 1px solid gray;
    }
    .link_a{
        text-underline: #0a0a0a;
        color: black;
        font-weight: 600;
    }
    .visit-store-button {
        background-color: #f0a830;
        color: black;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        text-decoration: none;
        display: inline-block;
        margin-top: 20px;
        font-weight: 700;
    }
    .content-text {
        text-align: left;
        padding: 0 30px; /* Adjusted padding */
    }
    .contact-info {
        color: #888;
        font-size: 14px;
        margin-top: 30px;
    }
    .bottom-logo {
        display: block;
        margin: 20px auto;
        width: 150px;
    }
    .bottom-text {
        text-align: center;
        font-size: 14px;
        color: #555; /* Darker grey */
        margin-top: 5px;
    }
    .top-circuit-img {
        width: 100%;
        display: block;
    }
    .bottom-circuit-img {
        width: 100%;
        display: block;
        margin-top: 30px;
        transform: rotate(180deg);
    }
    .no_gap{
        margin: 0;
    }
    .yours-sincerely {
        margin-top: 20px;
    }
    .font-bold{
        font-weight: bold;
    }
     .button-style {
        background-color: #f0a830;
        color: black;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        text-decoration: none;
        display: inline-block;
        font-weight: 700;
    }
    .cart-button {
        margin-right: 10px;
    }
    .social-icon-style {
        display: flex;
        gap: 30px;
        justify-items: center;
        justify-content: center;
        margin-top: 38px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .social-icon {
        width: 30px;
        margin: 0 5px;
    }
    .order-details-table {
        width: calc(100% - 60px); /* Account for padding */
        margin: 20px 30px; /* Add horizontal margin */
        border-collapse: collapse;
        border: 1px solid #ddd;
    }
    .order-details-table td {
        padding: 10px;
        border: 1px solid #ddd;
        vertical-align: top;
    }
    .order-details-table tr td:first-child {
        font-weight: bold;
        width: 40%; /* Adjust width as needed */
    }
    .product-item {
        /*display: flex; !* Changed back to flex for side-by-side layout *!*/
        /*align-items: center; !* Align items vertically in the center *!*/
        margin-bottom: 10px; /* Space between product items */
        padding: 10px;
        /*position: relative;*/
    }
    .product-item:last-child {
        margin-bottom: 0; /* No bottom margin for the last item */
    }
    .product-thumb {
        width: 110px; /* Smaller image for table */
        height: auto;
        margin-right: 10px;
        border-radius: 3px;
    }
    .product-corner-icon {
        position: absolute;
        top: 0;
        left: 0;
        width: 20px; /* Adjust size as needed */
        height: auto;
        z-index: 1;
    }

</style>
<style>
  body {
    font-family: sans-serif;
  }
</style>
</html> 